// BatchTreeItem.cpp : implementation file
//

#include "stdafx.h"
#include "BatchTreeItem.h"

// CBatchTreeItem

CBatchTreeItem::CBatchTreeItem(CBatch value,ITEM_TYPE type)
{	
	this->m_value= value;
	this->m_type= type;
}

CBatchTreeItem::CBatchTreeItem(ITEM_TYPE type)
{
	this->m_type= type;
}

CBatchTreeItem::CBatchTreeItem(int index,ITEM_TYPE type)
{
	this->m_index= index;
	this->m_type= type;
}

CBatch CBatchTreeItem::GetValue()
{
	return m_value;
}

CBatchTreeItem::ITEM_TYPE CBatchTreeItem::GetValueType()
{
	return m_type;
}

int CBatchTreeItem::GetIndex()
{
	return m_index;
}

CBatchTreeItem::~CBatchTreeItem()
{
}


